<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="renderer" content="webkit" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
  <title>千锋教育大前端Vue教学</title>
  <!-- 引入vue -->
  <script src="https://cdn.staticfile.org/vue/3.0.5/vue.global.js"></script>
  <style>
    .row { display: flex; flex-direction: row; }
    .item { margin-right: 10px; }
  </style>
</head>

<body style="margin:100px;font-size:22px;">
  <div id="app">
    <div class="row" v-for="i in 9" :key="i">
      <div class="item" v-for="j in i" :key="j">
        {{i}} x {{j}} = {{i*j}}
      </div>
    </div>
  </div>
  <script>
    const app = Vue.createApp({});
    app.mount('#app');
  </script>
</body>

</html>